Skip to content

dsh-tables: a table compiler, and three published tables as its benchmark - #23

Merged
vecnode merged 3 commits into
mainfrom
dsh-tables/table-compiler
Nov 29, 2026
Merged

vecnode merged 3 commits into
mainfrom
dsh-tables/table-compiler

Conversation

@vecnode

@vecnode vecnode commented Nov 29, 2026

Copy link
Copy Markdown
Owner

What

A fifth plugin: \dsh-tables. One JSON spec compiles to LaTeX (booktabs), Markdown, DOCX and CSV from the same resolved grid, plus a PNG of the LaTeX actually setting.

  • Grouped headers are DERIVED from \column.group\ — no hand-written \multicolumn\ to lose a column.
  • Best-value emphasis is computed per column per row group, because a 2B family and an 8B family are separate races.
  • Spans:
    ow.span\ across,
    ow.rowSpan\ down, refused when the covered cells also carry a value.
  • Rungs: t0-spec → t1-grid → t2-data → t3-typeset (real pdflatex) → t4-drawn (PNG).
  • DOCX is a real OOXML table with gridSpan/vMerge/shading, written by hand and re-read by the check.

Corpus

Three tables from arXiv:2510.14979 (vqa-results, dataset-summary, implementation-details), rebuilt from their structure, with provenance, anatomy, executable rubric and built artifacts.
eference/THIRD-PARTY.md\ records the licence and sha256 of each target; deleting one degrades the check to its structural tier.

Checks


ode packages/dsh-tables/checks/check-tables-node.mjs\ — 91 checks: build, determinism, no drift, rubric traced to counts and strings in the real output, DOCX re-read, both tools through a temp workspace, and a real compile to one page.

Also run: \check-node-routes\ (manifest declared), \check-no-secrets, \check-scripts.

Known limits

The LaTeX emitter has no paragraph columns: this host's colortbl breaks \p{}\ with bands, and a band matters more than a wrap. DOCX carries no maths (no OMML) and says so. No tab/route.

…mark

One JSON spec (grouped headers with DERIVED spans, row and column spans, tinted
bands, best-value emphasis per column per family, maths) compiles to LaTeX
booktabs, Markdown, DOCX and CSV from one resolved grid, plus a PNG of the LaTeX
actually setting. The rung ladder is stated every time: t0-spec, t1-grid,
t2-data, t3-typeset (pdflatex), t4-drawn (a PNG exists).

The reference corpus makes "publication table" testable: three tables from
arXiv:2510.14979 rebuilt from their structure, each with a target, a provenance
note, an anatomy, an executable rubric and the built artifacts.

Host-only: two tools, one skill, no route, no browser half, zero dependencies,
and no TeX package installed on demand.
The banner carries the counts the tree actually has: the figure compiler and the
table compiler are in, with their two skills. The plugin table gains dsh-tables,
the dsh-diagrams row names the figure kind, and the capability line names tables.
@vecnode
vecnode merged commit 733dd70 into main Nov 29, 2026
1 check passed
@vecnode
vecnode deleted the dsh-tables/table-compiler branch November 29, 2026 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant